package com.nsoft.thickclient.trackMove.intr.party;

import java.io.Serializable;

public class ThinParty implements Serializable {

	/**
	 * serialVersionUID = 1L.
	 */
	private static final long serialVersionUID = 1L;

	public ThinParty(String name, Long id, String address) {
		super();
		this.name = name;
		this.id = id;
		this.address = address;
	}

	public ThinParty(String name, Integer id) {
		super();
		this.name = name;
		if(id!=null) {
		this.id = id.longValue();
		}

	}

	public ThinParty() {

	}

	private String name;

	private Long id;

	private String address;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String toString() {
		return name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
}
